/*
 * serialization.h
 *
 *  Created on: Aug 25, 2011
 *      Author: Gherman Alin
 */

#ifndef SERIALIZATION_H__DATAACCESS
#define SERIALIZATION_H__DATAACCESS

#include <cstddef> // NULL
#include <iomanip>
#include <iostream>
#include <fstream>
#include <string>

#include <boost/archive/tmpdir.hpp>

#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>

#include <boost/serialization/base_object.hpp>
#include <boost/serialization/utility.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/list.hpp>
#include <boost/serialization/map.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/split_member.hpp>
#include <boost/serialization/assume_abstract.hpp>

namespace DataAccess {

typedef boost::archive::text_oarchive OutArchive;
typedef boost::archive::text_iarchive InArchive;
//typedef boost::archive::binary_oarchive OutArchive;
//typedef boost::archive::binary_iarchive InArchive;

const unsigned int BLOCK_SIZE = 4 * 1024;

}

#endif
